package com.joey.cloud.communal.constant;

/**
 * 基础常量
 * @author joey
 */
public class BaseConstant {

    //授权模式-密码模式
    public static final String AUTH_PWD = "pwd_";

    public static final char SPITS_CHAR1 = ',';
    public static final String SPITS_STR1=",";
    public static final String SPITS_STR2="/";
    public static final String SPITS_STR3="_";
    public static final String SPITS_STR4=".";
    public static final String SPITS_STR5="%";
    public static final String STR_EMPTY="";
    public static final String DIC_TYPE1="dic";
    public static final String DIC_TYPE2="psn";

    public static final int int0=0;
    public static final int int1=1;
    public static final String TRUE_STR = "true";
    public static final String FALSE_STR = "false";

    public static  final String format1 = "yyyy/MM/dd";
    public static final String format2 = "yyyy/MM/dd HH:mm:ss";
    public static final String format3="yyyy-MM-dd";
    public static final String format4="yyyy-MM-dd HH:mm:ss";
    public static final String entity_date_format = "yyyy/MM/dd HH:mm:ss";


    public static final long MAX_PAGE_SIZE=999;
    public static final long INIT_PAGE_NO=1;
    public static final long INIT_PAGE_SIZE=10;

    public static final int MAX_PAGE_SIZE_ES=999;
    public static final int INIT_PAGE_NO_ES=0;
    public static final int INIT_PAGE_SIZE_ES=10;

    public static final long DEF_GROUP_ID=2;
    public static final String HEADER_TOKEN="Authorization";
    public static final String TOKEN_BEARER="Bearer";
    public static final String SUPER_ADMIN="SUPER_ADMIN";
    public static final String NORMAL_USER="NORMAL_USER";
    public static final String GROUP="GROUP";
    public static final String ROLE="ROLE";
    public static final String TRACT_ID="tractId";

    public static String FILTER_TYPE_PRE="pre";
    public static String FILTER_TYPE_ERROE="error";





}
